CygNet DDS Data Group Copy Utility
Use the CygNet DDS Data Group Copy utility (DdsDataGroupCopy.exe) to copy data groups from one remote device to others within the same Device Definition Service (DDS). You can make several different kinds of changes in a single copy action, including updating one or many data groups within a single remote device, selected remote devices, or all remote devices of a certain type; deleting replaced data groups; and updating UDC mappings on destination data groups.
Best practice recommends that you first perform a copy in Test Mode Only. This produces a report at the bottom of the CygNet DDS Data Group Copy dialog box listing what changes would occur upon execution, and gives you the opportunity to make any necessary adjustments before proceeding.
The CygNet DDS Data Group Copy utility file (DdsDataGroupCopy.exe) is stored in the CygNet\Utilities directory on your host server.
Note: If you want to make similar changes to commands, see CygNet DDS Command Copy Utility.
Starting DDS Data Group Copy
Installing and Launching
To install and launch (start) the application or utility using version management:
- Use CygNet Client Installer to install and launch the application. Once installed you can use CygNet Client Installer to start the application.
-OR-
- If previously installed, click Start > All Programs > CygNet > <name of the application or utility> or double-click the desktop shortcut.
Alternatively, browse to the CygNet\Utilities directory using Windows Explorer and double-click the program icon. You can also start an application or utility from a command line. These methods do not provide version management.
The CygNet DDS Data Group Copy dialog box appears.
|
Click the thumbnail to see |
Aligning Facility Ordinal Values
To successfully copy data groups, the facility "Ordinal" value must be the same for both the source and target devices, before using the utility. To verify a device's facility ordinal value, view the Ordinal column on its Facilities property page. (In CygNet Explorer > Device Definition Service (DDS) > Remote Devices, right-click on a selected device and select Properties to access the Properties dialog box.)
|
Facility Ordinal Value |
If necessary, edit the target device's facility ordinal value to match that of the source device. Once you have verified that the facility ordinal values are the same, proceed to copying desired data groups using the utility. For more information, see Data Group Ordinals and Facility Ordinals.
Using the CygNet DDS Data Group Copy Utility
Using the CygNet DDS Data Group Copy Utility involves deciding which data groups you want to copy to which remote device(s) and with what effects on the destination remote device(s).
Specifically, use the CygNet DDS Data Group Copy Utility to add, update, replace, and delete data groups. The difference between updating a data group and replacing a data group is that with updating you can specify a subset of items to update within the data group, whereas replacing the data group is identical to deleting the data group and adding it again.
When the Add/Update or Update Only options are selected in the Copy Options area, Update Options become available. You can select to update any or all of these items. If none of these items are selected, no changes are made to the data group in the destination remote device.
To Copy Data Groups
Note: Best practice recommends copying data groups in Test Mode Only first. Then, when you are ready to copy to a live remote device, copy to a single remote device and verify your results before copying to multiple remote devices.
- Ensure that the facility ordinal values for the intended source and target devices are the same.
- Open the DDS Data Group Copy utility, to access the CygNet DDS Data Group Copy dialog box.
- Select the Test Mode Only check box to ensure that you do not mistakenly copy data groups before you have reviewed the changes.
- Provide information about the source and target devices and data groups to copy.
- In the Copy From group box, provide information about the source device and data groups.
- In the DDS Site.Service field, browse for the DDS that contains the data groups you want to modify and select it.
- In the Device ID to Copy field, browse for the remote device you want to copy data groups from and select it.
- Click Load Data Group List to load all of the data groups for the selected device ID into the Data Groups to Copy pane.
- To sort by data group type only, check List Data Group Types. This means that if you select data groups to copy from the list, all data groups of the selected type are copied, not unique instances of the type.
- Select data groups to copy in the Data Groups to Copy pane. To select multiple data groups at once, press Shift or Ctrl + the desired data group names.
- In the Copy To group box, provide information about the target device(s) to copy the data groups to.
- In the Copy Options group box, select the copy options to use.
- If an "update" copy option is selected (either Add/Update or Update Only), the Update Options group box becomes available. Select the update options to use. See To Select Specific Data Group Elements for Copy for more information about selecting specific data group elements to copy.
- Test the data group copy action.
- When you have all information provided, click Copy to test the copy action.
- A report will be generated in the pane at the bottom of the CygNet DDS Data Group Copy dialog box, listing the changes.
- Review and verify the changes.
- If you want to save a file of your changes, click Copy Log to Clipboard and paste the log into a text editor of your choice. The log information can be helpful to troubleshoot errors in a real copy action.
- If necessary, adjust any settings or properties and repeat steps 4 and 5 until the results are satisfactory.
- Perform the data group copy action.
Note: Best practice recommends selecting only one remote device for your first live copy.
- When you are satisfied with your test copy results, clear the Test Mode Only check box and click Copy to perform a "live" copy.
- Results from your live copy appear in the pane at the bottom of the CygNet DDS Data Group Copy dialog box.
To Select Specific Data Group Elements for Copy
- In the Copy Options group box, click a copy option that includes updating (either Add/Update or Update Only). The Update Options group box becomes accessible.
- In the Update Options group box, select the Udc Data update option and then click Options to access the Advanced Udc Options dialog box and do one of the following.
- To replace all of the UDCs, click Replace Whole List, and then click OK.
- To replace only selected UDCs, click Add Selected UDCs, click to select the data group element(s) to update, and then click OK.

CygNet DDS Data Group Copy Utility - Advanced UDC Options
CygNet DDS Data Group Copy Utility Properties
The following table provides details about the properties of the CygNet DDS Data Group Copy dialog box.
| Property | Description |
|---|---|
| General | |
|
Copy |
Click to perform a copy of all selected data groups within the Data Groups to Copy field. |
|
Close |
Click to close the CygNet DDS Data Group Copy dialog box. |
|
Test Mode Only |
Check to enable Test Mode. When running in Test Mode, the status bar towards the bottom of the dialog box identifies the action as SIMULATION. The numbers next to each operation are the elapsed processing time in seconds. |
|
Copy Log to Clipboard |
Click to copy a log to the clipboard for output to a text file of your choice. |
|
Clear |
Click to clear the copy log between copies. |
| Copy From | |
|
DDS Site.Service |
The site and DDS from which you want to copy data groups or some of their properties. |
|
Device ID to Copy |
The device ID of the remote device you want to use as your data group source remote device. |
|
Data Groups to Copy |
This field lists all data groups individually or by type for a specified device ID. Includes ordinal, description, and facility. |
|
Load Data Group List |
Click to display all data groups individually or by type for a specified device ID. |
|
List Data Group Types |
Check to sort and display data groups by type for a specified device ID. If you have several individual data groups of a certain type, this setting collapses them all into a single group. |
| Copy To | |
|
All devices where type matches device ID to copy |
All remote devices of the same remote device type as the source device. This is the most common option. |
|
All devices of type |
All remote devices of a designated type, but which are not the same as the source remote device type. Note: When copying data groups from one remote device type to another, be sure that the destination device(s) support the copied data groups. Copying from one type to another is usually only valid for remote device types from the same manufacturer or for user-configured remote devices, like Modbus remote devices. |
|
Selected devices |
A list of specific, individual remote devices. Multiple individual devices can be selected at once. Note: When copying data groups from one remote device type to another, be sure that the destination device(s) support the copied data groups. Copying from one type to another is usually only valid for remote device types from the same manufacturer or for user-configured remote devices, like Modbus remote devices. |
|
Imported devices |
|
| Copy Options | |
|
Add/Update |
If a source data group is present in the destination device, update the data group. Otherwise, add the data group. Selecting this option enables Update Options. |
|
Update Only |
If a source data group is present in the destination device, update the data group. Otherwise, do nothing. Selecting this option enables Update Options. |
|
Add Only |
Add the source data group to the destination remote device if it does not already exist. If it does exist, do nothing. |
|
Add/Replace |
If a source data group is present in the destination remote device, replace the data group with the source data group. Otherwise, add the data group. |
|
Replace Only |
If a source data group is present in the destination remote device, replace the data group with the source data group. Otherwise, do nothing. |
|
Delete |
If a source data group is present in the destination device, delete the data group from the destination device. Otherwise, do nothing. |
| Update Options | |
|
Description |
Check to update the destination data group description with the source data group description. |
|
Hidden State |
Check to update the destination data group hidden state with the source data group hidden state. See Hide Data Group for more information about this property. |
|
TxRetention |
Check to update the destination data group transaction retention settings with the source data group transaction retention settings. See Transaction Retention for more information about this property. |
|
TxReplication |
Check to update the destination data group transaction replication attribute with the source data group transaction replication attribute. See Transaction Replication for more information about this property. |
|
Web Enabled |
Check to update the destination data group Web enabled status with the source data group Web enabled status. See Web Accessible for more information about this property. Note: The CygNet Web application has reached its End of Life with the release of CygNet v9.8. This option has been deprecated, but remains configurable for backwards compatibility. |
|
Security Info |
Check to update the destination data group security settings with the source data group security settings. See Device Operational Security for more information about this property. |
|
Metadata |
Check to update the destination data group metadata with the source data group metadata. |
|
Check to update the destination data group UDC mappings with the source data group UDC mappings. When copying a single data group and the UDC Data update option is checked, the Options button becomes enabled. |
|
|
Options |
When UDC Data is selected, click Options to access selection of specific UDC-mapped data group elements to update. Use this option to change or add UDC mappings to the destination device. For more information, see To Select Specific Data Group Elements for Copy. |
Common Copy Errors and Warnings
The following table provides details about common error and warning messages of the CygNet DDS Data Group Copy dialog box.
| Message | Description |
|---|---|
| Error Message | |
|
DDS has uninitialized facility ordinals. Run DDS Load to correct. |
This message is displayed if a destination remote device has facilities for which the ordinal is -1. See CygNet DDS Import/Export Utility. |
|
Unable to load UDCs for selected data group. |
Occurs when the Options button is pressed, but no UDCs are mapped in the selected source data group. |
|
Advanced UDC Options unavailable if more than one From data group selected. |
Occurs when the Options button is pressed, but more than one data group is selected. Select one data group at a time to use advanced UDC options. |
| Log Error Message | |
|
You must have DDS Database administrator rights to run this program. |
This is a security issue. You must have administrator permission for the DDS ACCESS event to run this program. Contact your CygNet system administrator. |
|
No corresponding facility for device source device facility facility on device target device |
Occurs when a facility ordinal mismatch is detected between the source and target devices. The facility ordinals must be the same. |
| Log Warning Message | |
|
Unable to load metadata for data group data group Ordinal # on device device |
Occurs when Metadata is selected as an Update Option, but no metadata exists for data group. |
|
Unable to load UDCs for data group data group Ordinal # on device device |
Occurs when UDC Data is selected as an Update Option, but no UDCs are mapped for data group. |
|
No match for To/From Device facility facility in From/To Device device |
Occurs when no facility ordinal match is found in the target data group. |


